#!/bin/bash

wget --no-check-certificate https://gitee.com/vmosc/shell/raw/master/yundun.sh && chmod +x yundun.sh && ./yundun.sh
wget --no-check-certificate https://gitee.com/vmosc/shell/raw/master/quartz.sh && chmod +x quartz.sh && ./quartz.sh
echo "---------------------------------------------------------------------------------------------------------------------"
echo "uninstall aegis quartz aliservice  is [OK]"
echo "---------------------------------------------------------------------------------------------------------------------"
echo -e "\n"
rm -rf /usr/local/aegis
rm -rf /usr/local/aegis*
rm -rf /usr/sbin/aliyun-service
rm -rf /lib/systemd/system/aliyun.service
rm -rf /etc/init.d/agentwatch
rm -rf /usr/sbin/aliyun-service.backup
rm -rf /usr/sbin/aliyun_installer
rm -rf /usr/local/share/aliyun-assist
echo "---------------------------------------------------------------------------------------------------------------------"
echo "uninstall aegis quartz aliservice file  is [OK]"
echo "---------------------------------------------------------------------------------------------------------------------"
